﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TfsGiggle.Core
{
    /// <summary>
    /// Eventids logged with Core/EngineService
    /// </summary>
    public static class EventId
    {
        /// <summary>
        /// IndexModel class could not be created
        /// </summary>
        public static readonly int IndexModelConstructorFailed = 2012;

        /// <summary>
        /// Document could not be deleted
        /// </summary>
        public static readonly int DocumentDelete = 2013;

        /// <summary>
        /// Document could not be added
        /// </summary>
        public static readonly int DocumentAdd = 2014;

        /// <summary>
        /// Changeset could not be expanded, files not processed
        /// </summary>
        public static readonly int ExpandChangeset = 2015;

        /// <summary>
        /// Jobmanager could not be opened
        /// </summary>
        public static readonly int JobManagerOpen = 2016;

        /// <summary>
        /// Tfs is currently unavailable
        /// </summary>
        public static readonly int TfsUnavailable = 2017;

        /// <summary>
        /// Could not get file from version control
        /// </summary>
        public static readonly int TfsGetFile = 2018;

        /// <summary>
        /// Workitems could not be collected
        /// </summary>
        public static readonly int WorkitemsAdd = 2019;

        /// <summary>
        /// Service could not be hosted
        /// </summary>
        public static readonly int HostThisService = 2020;

        /// <summary>
        /// Service was able to start
        /// </summary>
        public static readonly int BackgroundStart = 2021;

        /// <summary>
        /// Unhandled domain exception
        /// </summary>
        public static readonly int CurrentDomainUnhandledException = 2022;

        /// <summary>
        /// Unsubscribe caught an exception
        /// </summary>
        public static readonly int UnSubscribeToCheckinEvent = 2023;

        /// <summary>
        /// OnStop is badbadbadbad
        /// </summary>
        public static readonly int OnStopException = 2024;

        /// <summary>
        /// Bad Regex in the config file
        /// </summary>
        public static readonly int InvalidRegex = 2025;
        
    }
}
